From 108fda6552cedfb4bc02bdea658789303c63a98a Mon Sep 17 00:00:00 2001 From: "lynx@idefix.cl.cam.ac.uk" Date: Wed, 18 Dec 2002 11:36:38 +0000 Subject: [PATCH] bitkeeper revision 1.7.3.30 (3e005dc6YHCLIwxSzkXDeRhGTRsFbQ) uninstumenting code --- xen-2.4.16/common/dom0_ops.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/xen-2.4.16/common/dom0_ops.c b/xen-2.4.16/common/dom0_ops.c index 0c80595ff5..a554e11a51 100644 --- a/xen-2.4.16/common/dom0_ops.c +++ b/xen-2.4.16/common/dom0_ops.c @@ -75,14 +75,14 @@ long do_dom0_op(dom0_op_t *u_dom0_op) /* if we are not booting dom 0 than only mem * needs to be allocated */ - //if(dom != 0){ - // if(alloc_new_dom_mem(p, op.u.newdomain.memory_kb) != 0){ - // ret = -1; - // break; - // } - // ret = p->domain; - // break; - //} + if(dom != 0){ + if(alloc_new_dom_mem(p, op.u.newdomain.memory_kb) != 0){ + ret = -1; + break; + } + ret = p->domain; + break; + } /* executed only in case of domain 0 */ ret = setup_guestos(p, &op.u.newdomain); /* Load guest OS into @p */ -- 2.30.2